package com.java.service;

import com.java.util.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("moon-teacher")
public interface TeacherService {

    @PostMapping("teacher/selectOne")
    ResultVo selectOne(@RequestBody String teacherId);

    @PostMapping("teacher/incrPaperCount")
    ResultVo incrPaperCount(@RequestBody String teacherId);

}
